@extends('admin.layout.common')
@section('content')
    <link rel="stylesheet" type="text/css" href="{{URL::asset('css/article/announcement.css')}}">
    <div class="content">
        <h1 class="h1">编辑文章</h1>
        <form method="post">
            {{csrf_field()}}
            <input type="hidden" name="id" value="{{$info['id']}}"/>
            <p>
                <label style="margin-top:10px;">发布范围：
                    <select required name="classify_id" style="width: 290px; margin-left: 10px; margin-right: 20px;height: 40px;border: 1px solid #CCCCCC;">
                        <option value="">--请选择--</option>
                        @foreach($classify as $v)
                            <option value="{{$v['id']}}" @if($info['classify_id']==$v['id']) selected @endif>{{$v['name_cn']}}</option>
                        @endforeach
                    </select>
                </label>
            </p>
            <label style="margin-top:10px;">发布内容：</label>
            <textarea name="content" rows="10" cols="20" placeholder="备注" required style="vertical-align:top;margin-top:10px;width:500px">{{$info['content']}}</textarea><br />
            <input type="submit" name="" value="提交" class="btn" style="margin-left:180px;margin-top:30px;">
        </form>
    </div>

<script type="text/javascript" src="{{URL::asset('js/user/AddEmployees.js')}}"></script>
@endsection

